
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;


public class AboutNullAndEquals
{
	private static final Log log = LogFactory.getLog(AboutNullAndEquals.class);

	@BeforeClass
	public static void setUpBeforeClass() throws Exception
	{
		log.debug("setUpBeforeClass");
	}
	
	@Before
	public void setUp() throws Exception
	{
		log.debug("setUp");
	}
	
	@After
	public void tearDown() throws Exception
	{	
		log.debug("tearDown");
	}
	
	@AfterClass
	public static void tearDownAfterClass() throws Exception
	{
		log.debug("tearDownAfterClass");
	}


	


	
	@Test
	public void testEquals() {
		String NULL = null;
		String space = "";
		if(NULL == null) {
			log.info("null == null");
		}
//		if(NULL.equals(null)) {
//			log.info("null.equals(null)");
//		}
		if(space == "") {
			log.info("space == \"\"");
		}
		if(space.equals("")) {
			log.info("space.equals(\"\")");
		}
	}

}
